{# ################## #}
{# #   							       #}
{# #  RESULTS OF A SEARCH 			   #}
{# # 								   #}
{# ################## #}





<!-- hidden fields useful to store data -->
<input type="hidden" id="active_ordering" value="default" />
<input type="hidden" id="refresh_facets" value="{{count_is_active}}" />
<!-- end of hidden fields -->



<h2>Matching *{{result_typeObj.label|capfirst}}* Records (<span id="rec_num">{{totitems|default:"None"}}</span>)
</h2>


{% if items.object_list  %}
	
	
	{% include table_template %}
	
	
	
	
	{# PAGINATOR CONTROLS #}
	
	<div class="paginator">
      <h4>Listing items <strong>{{ items.start_index }}</strong> to <strong>{{ items.end_index }}</strong>, page <strong>{{ items.number }}</strong> of <strong>{{ items.paginator.num_pages }}</strong></h4>
      <p>
      	
		{% if items.has_previous %}
			<span><a href="?page=1&amp;resulttype={{result_typeObj.uniquename}}{{newurl_stub}}">&#8249;&#8249; First</a></span>
            <span><a  href="?page={{ items.previous_page_number }}&amp;resulttype={{result_typeObj.uniquename}}{{newurl_stub}}">&#8249; Previous</a></span>
		{% else %}
			<span class="s5">&#8249;&#8249; First</span>
			<span class="s5">&#8249; Previous</span>
        {% endif %}

		{% for el in items.extrastuff %}

			{% ifequal el items.number %}
				<span class="s1">{{ el }}</span>
			{% else %}
				<span><a href="?page={{el}}&amp;resulttype={{result_typeObj.uniquename}}{{newurl_stub}}">{{ el }}</a></span>
			{% endifequal %}
      	
		{% endfor %}

		{% if items.has_next %}
			<span><a href="?page={{ items.next_page_number }}&amp;resulttype={{result_typeObj.uniquename}}{{newurl_stub}}">Next &#8250;</a></span>
			<span><a href="?page={{ items.paginator.num_pages }}&amp;resulttype={{result_typeObj.uniquename}}{{newurl_stub}}">Last &#8250;&#8250;</a></span>
		{% else %}
			<span class="s5">Next &#8250;</span>
			<span class="s5">Last &#8250;&#8250;</span>
        {% endif %}

      </p>
    </div>
	
	


{% else %}

	
	
	{% include "djfacet/snippet_noresults.html" %}
	
	
			
{% endif %}


		

